package com.jgzj.example.export.vo;

import com.alibaba.fastjson.JSON;
import com.jgzj.example.export.model.export.BaseExport;
import lombok.Data;

/**
 * @description:
 * @author: 子木
 * @since: 2021/05/16
 */
@Data
public class BaseReqVo implements BaseExport {

    Integer pageNo;
    Integer pageSize;
    Integer totalPage;

    @Override
    public Object getCurrentObject(String jsonString) {
        BaseReqVo baseReqVo = JSON.parseObject(jsonString, BaseReqVo.class);
        return baseReqVo;
    }
}